# @Version:1.0
# @Author：green-citrus

class Person:
    name = None
    age = None

def f1(person):
    print(f"person的地址：{id(person)}")
    person.name = "james"
    person.age += 1

p1 = Person()
p1.name = "jordan"
p1.age = 21

print(f"p1的地址：{id(p1)}，p1的name：{p1.name}， p1的age：{p1.age}")
f1(p1)
print(f"p1的地址：{id(p1)}，p1的name：{p1.name}， p1的age：{p1.age}")

